// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
//全局使用路由模块
import VueRouter from "vue-router";
//导入上面创建的路由配置表
import router from './router'
Vue.use(VueRouter)

import axios from 'axios';
import VueAxios from "vue-axios";
Vue.use(VueAxios,axios)

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
